package com.sht.common.components.config;

import java.util.HashMap;
import java.util.Map;

public class Config {
	private static Map<String, String> paras =new HashMap<String, String>();
	static {
		paras.put("DEV_MODE", "1");
		paras.put("WEI_XIN_BASE_URL", "https://api.weixin.qq.com/sns");
		paras.put("WEI_XIN_OAUTH2_ACCESS_TOKEN_URL", "/oauth2/access_token");
		paras.put("WEI_XIN_APPID", "wx5b28ef4e7d3e4773");
		paras.put("WEI_XIN_SECRET", "fe89b8905abfd948facc70394754e8b3");
		paras.put("LINE_UP_OUT_TIME_TEMPLATE", "NsWgjFkDcbdZwKkmadIiSTw0MLZRyracERZfTD9B5_Q");
		paras.put("SERVICE_TIME_1", "20");
		paras.put("SERVICE_TIME_2", "20");
		paras.put("SERVICE_TIME_3", "20");
		paras.put("SERVICE_TIME_4", "20");
		//paras.put("RUN_MODE", "DEV");
	}
	public static String getStringNotEmpty(String key) {
		return paras.get(key);
	}
	public static int getInt(String key) {
		return Integer.parseInt(paras.get(key));
	}
	
}
